﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="mtCmmtDetailPopup.aspx.vb" Inherits="mtCmmtDetailPopup" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/style.css" rel="stylesheet" />
    <script type="text/ecmascript">
        function ClosePop() {
            window.parent.TINY.box.hide();
        }
    </script>
    <style type="text/css">
        .auto-style1
        {
            width: 89px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div style="margin-left: 10px;">

            <div style="text-align: left; float: left; width: 98%; height: 30px; border: solid; border-color: gray; border-width: 1px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; box-shadow: 5px 5px 5px #808080; padding: 5px 5px 5px 5px;">
                <table width="100%" border="0">
                    <tr>
                        <td width="50%">
                            <asp:Label ID="L_ID" runat="server" Visible="false"></asp:Label>
                            <asp:Label ID="L_CommentDetail" runat="server"></asp:Label>
                            <asp:Label ID="L_productCode" runat="server" Visible="false"></asp:Label>
                            <asp:Label ID="L_ProductYear" runat="server" Visible="false"></asp:Label>
                            <asp:Label ID="L_CmmtCode" runat="server" Visible="false"></asp:Label>
                            <asp:Label ID="L_CmmtYear" runat="server" Visible="false"></asp:Label>
                        </td>
                        <td width="50%" align="right">
                            <asp:ImageButton ID="AddBtn" runat="server" ImageUrl="Icons/save.jpg" />&nbsp;&nbsp;
                        <asp:ImageButton ID="CancelBtn" runat="server" ImageUrl="Icons/cancel.png" OnClientClick="ClosePop()" /></td>
                    </tr>
                </table>
            </div>

            <div style="text-align: left; float: left; width: 98%; margin-top: 10px; border: solid; border-color: gray; border-width: 1px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; box-shadow: 5px 5px 5px #808080; padding: 5px 5px 5px 5px;">
                <table>
                    <tr runat="server" id="tr_cmmt">
                        <td class="auto-style1">
                            <asp:Label ID="Label1" runat="server" Text="Cmmt Code" CssClass="label"></asp:Label></td>
                        <td style="width: 5px;">&nbsp;</td>
                        <td>
                            <asp:TextBox ID="IDTxt" runat="server" Width="100px" MaxLength="8" Enabled="false" ReadOnly="true"></asp:TextBox></td>
                        <td style="width: 5px;">&nbsp;</td>
                        <td></td>
                        <td style="width: 5px;">&nbsp;</td>
                        <td></td>
                    </tr>
                    <tr runat="server" id="tr_prod">
                        <td class="auto-style1">
                            <asp:Label ID="Label19" runat="server" Text="Product Code"></asp:Label></td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="ProdTxt" runat="server" Width="100px" Enabled="false" ReadOnly="true"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td></td>
                        <td>&nbsp;</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label2" runat="server" Text="Item No"></asp:Label></td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="ItemNoTxt" runat="server" Width="100px"  MaxLength="4"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td></td>
                        <td>&nbsp;</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label3" runat="server" Text="Description"></asp:Label></td>
                        <td>&nbsp;</td>
                        <td colspan="5">
                            <asp:TextBox ID="DescripTxt" runat="server" Width="331px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label4" runat="server" Text="ใส่ค่าโดยตรง"></asp:Label></td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:RadioButtonList ID="EnterAmountFlagRadio" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True" Value="Y">    ได้     </asp:ListItem>
                                <asp:ListItem Value="N">    ไม่ได้</asp:ListItem>
                            </asp:RadioButtonList>
                            <%--  <asp:RadioButton ID="tEnterAmountFlagRadio" runat="server" Text="    ได้     " GroupName="en1" Checked="true" />
                            <asp:RadioButton ID="nEnterAmountFlagRadio" runat="server" Text="    ไม่ได้    " GroupName="en1" />--%>
                        </td>
                        <td>&nbsp;</td>
                        <td></td>
                        <td>&nbsp;</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td class="auto-style1">&nbsp;</td>
                        <td>&nbsp;</td>
                        <td align="center">
                            <asp:Label ID="Label16" runat="server" Text="คำอธิบาย"></asp:Label>
                        </td>
                        <td>&nbsp;</td>
                        <td align="center">
                            <asp:Label ID="Label17" runat="server" Text="หน่วย"></asp:Label></td>
                        <td>&nbsp;</td>
                        <td align="center">
                            <asp:Label ID="Label18" runat="server" Text="ค่า Default (ถ้ามี)"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label5" runat="server" Text="คำอธิบาย 1 "></asp:Label></td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleDe1" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleUn1" runat="server"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="Dvalue1" runat="server" Style="text-align: right;" MaxLength="14"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label6" runat="server" Text="คำอธิบาย 2 "></asp:Label></td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleDe2" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleUn2" runat="server"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="Dvalue2" runat="server" Style="text-align: right;" MaxLength="14"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label7" runat="server" Text="คำอธิบาย 3 "></asp:Label></td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleDe3" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleUn3" runat="server"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="Dvalue3" runat="server" Style="text-align: right;" MaxLength="14"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label8" runat="server" Text="คำอธิบาย 4 "></asp:Label></td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleDe4" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleUn4" runat="server" MaxLength="30"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="Dvalue4" runat="server" Style="text-align: right;" MaxLength="14"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label9" runat="server" Text="คำอธิบาย 5 "></asp:Label></td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleDe5" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleUn5" runat="server" MaxLength="30"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="Dvalue5" runat="server" Style="text-align: right;" MaxLength="14"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label10" runat="server" Text="คำอธิบาย 6 "></asp:Label></td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleDe6" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleUn6" runat="server" MaxLength="30"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="Dvalue6" runat="server" Style="text-align: right;" MaxLength="14"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label11" runat="server" Text="คำอธิบาย 7 "></asp:Label></td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleDe7" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleUn7" runat="server" MaxLength="30"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="Dvalue7" runat="server" Style="text-align: right;" MaxLength="14"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label12" runat="server" Text="คำอธิบาย 8 "></asp:Label></td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleDe8" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleUn8" runat="server" MaxLength="30"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="Dvalue8" runat="server" Style="text-align: right;" MaxLength="14"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label ID="Label13" runat="server" Text="คำอธิบาย 9 "></asp:Label></td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleDe9" runat="server" Width="200px" MaxLength="50"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="EleUn9" runat="server" MaxLength="30"></asp:TextBox>
                        </td>
                        <td>&nbsp;</td>
                        <td>
                            <asp:TextBox ID="Dvalue9" runat="server" Style="text-align: right;" MaxLength="14"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5">
                            <asp:Label ID="Label14" runat="server" Text="อัตราค่าใช้จ่ายกลาง"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="DeriveRateTxt" runat="server" Style="text-align: right;"></asp:TextBox>&nbsp;&nbsp;
                        <asp:Label ID="Label15" runat="server" Text="บาท"></asp:Label></td>
                        <td>&nbsp;</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td class="auto-style1"></td>
                        <td>&nbsp;</td>
                        <td colspan="5">
                            <asp:CheckBox ID="IdentFlagCB" runat="server" Text="  รายการนี้ต้องบันทึกช่อง Identification ด้วยหรือไม่"   />
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style1"></td>
                        <td>&nbsp;</td>
                        <td colspan="5">
                            <asp:CheckBox ID="AttachFlagCB" runat="server" Text="  รายการนี้ต้องแนบเอกสารด้วยหรือไม่"   /></td>
                    </tr>


                </table>
            </div>
        </div>

    </form>
    <%=AlertText%>
    <%=ScriptText %>
</body>

</html>
